const child_process = require('child_process');

module.exports = function() {
  return new Promise((resolve, reject) => {
    child_process.exec(`cd ${__dirname}\n .\/tlf-cp-ui.sh`, function(err, result) {
      if (err) return reject(err);
      resolve(result);
    });
  });
};
